import {request} from './request.js' //导入封装好的js文件
 

// export function introduction(){
//   return request({
//     url:'/introduction/list',
//     method:'get',
//   })
// }
// export function memberEnroll(data){
//   return request({
//     url:'/activity/memberEnroll',
//     method:'post',
//     data
//   })
// }
// export function shareSquare(tid){
//   return request({
//     url:'/trends/share/'+tid,
//     method:'get',
//   })
// }

//添加家长
export function addParent(data){
  return request({
    url:'/parent/addParent',
    method:'post',
    data
  })
}

//家长关联学生
export function parentStudent(data){
  return request({
    url:'/parent/parentStudent',
    method:'post',
    data
  })
}

//查询家长关联的学生
export function queryParentStudent(data){
  return request({
    url:'/parent/queryParentStudent',
    method:'post',
    data
  })
}

//家长移除关联的学生
export function removeParentStudent(data){
  return request({
    url:'/parent/removeParentStudent',
    method:'post',
    data
  })
}

